<template>
    <div>
      <h1>我是测试页</h1>
    </div>
</template>

<script>
/* eslint-disable comma-dangle */

export default {
  name: 'test',
};
</script>

<style lang="scss" scoped>
@function rem($px,$unit:75){
  @return $px/$unit#{rem}
}
*{
  margin: 0;
  padding: 0;
}
div{
  width: 100vw;
  height: 100vh;
  background: antiquewhite;
}
  h1{
    font-size: rem(40);
    color: fuchsia;
  }
</style>
